package org.jeecg.modules.demo.jxcx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.jxcx.mapper.JxcStockMapper;
import org.jeecg.modules.demo.jxcx.po.JxcStock;
import org.jeecg.modules.demo.jxcx.service.JxcStockService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DeskTop
* @description 针对表【jxc_stock】的数据库操作Service实现
* @createDate 2024-07-23 17:17:19
*/
@Service
public class JxcStockServiceImpl extends ServiceImpl<JxcStockMapper, JxcStock>
implements JxcStockService{

    @Override
    public List<JxcStock> getByConpanyId(String companyId) {
        return baseMapper.getByConpanyId(companyId);
    }

    @Override
    public List<JxcStock> getBylike(String like, String companyId) {
        return baseMapper.getBylike(like,companyId);
    }

    @Override
    public String getamount(String day,String companyId) {
        return baseMapper.getamount(day,companyId);
    }

    @Override
    public JxcStock getallamount(String id, String companyId) {
        return baseMapper.getallamount(id,companyId);
    }

    @Override
    public String getyueamount(String day, String companyId) {
        return baseMapper.getyueamount(day,companyId);
    }

    @Override
    public String getnianamount(String day, String companyId) {
        return baseMapper.getnianamount(day,companyId);
    }
}
